package cn.itsource;

import java.util.ArrayList;
import java.util.List;

//分页
public class PageList {

    private Long total;//总的条数
    private List rows = new ArrayList();//当前页数据

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List getRows() {
        return rows;
    }

    public void setRows(List rows) {
        this.rows = rows;
    }

    public PageList(Long total, List rows) {
        this.total = total;
        this.rows = rows;
    }

    public PageList(){}

}
